#pragma once
#include "ItemData.h"
#include "ItemBlockState.h"

//class ItemBlockEntity;

class ItemBlockStateInBlock : public ItemBlockState {
protected:
	Sprites* _sprites;
	int _life;
	int _delaySprite, _counter;

	virtual void _initSprite();
public:
	ItemBlockStateInBlock(ItemData* data);

	virtual void updateData(int action, int action_data);

	virtual void draw(long time);

	virtual void udpate(long time);
};